﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DTO
{
    public class War_WarehouseCollection : List<War_Warehouse>
    {
     public int IndexOf(War_Warehouse item)
        {
            return base.IndexOf(item);
        }
        public void Insert(int index, War_Warehouse item)
        {
            base.Insert(index, item);
        }
        public new void RemoveAt(int index)
        {
            base.RemoveAt(index);
        }
        public War_Warehouse this[int index]
        {
            get
            {
                return base[index];
            }
            set
            {
                base[index] = value;
            }
        }
        public void Add(War_Warehouse item)
        {
            base.Add(item);
        }
        public new void Clear()
        {
            base.Clear();
        }
        public new bool Contains(War_Warehouse item)
        {
            return base.Contains(item);
        }
        public new void CopyTo(War_Warehouse[] array, int arrayIndex)
        {
            base.CopyTo(array, arrayIndex);
        }
        public new int Count
        {
            get
            {
                return base.Count;
            }
        }
        public bool IsReadOnly
        {
            get
            {
                return IsReadOnly;
            }
        }
        public new void Remove(War_Warehouse item)
        {
            base.Remove(item);
        }
        public new IEnumerator<War_Warehouse> GetEnumerator()
        {
            return base.GetEnumerator();
        } 
    
    }
    public class War_Warehouse
    {
        private int _IdWarehouse;

        public int IdWarehouse
        {
            get { return _IdWarehouse; }
            set { _IdWarehouse = value; }
        }
        private string _WarehouseCode;

        public string WarehouseCode
        {
            get { return _WarehouseCode; }
            set { _WarehouseCode = value; }
        }
        private string _WarehouseName;

        public string WarehouseName
        {
            get { return _WarehouseName; }
            set { _WarehouseName = value; }
        }
        private int _IdWarehouseType;

        public int IdWarehouseType
        {
            get { return _IdWarehouseType; }
            set { _IdWarehouseType = value; }
        }
        private string _Description;

        public string Description
        {
            get { return _Description; }
            set { _Description = value; }
        }
        private Boolean _IsUse;

        public Boolean IsUse
        {
            get { return _IsUse; }
            set { _IsUse = value; }
        }
    }
}
